package com.jlboot.app.admin.validate;

import com.jlboot.core.base.Validator;
import com.jfinal.core.Controller;

/**
 * Created by wuyang(51594) on [date].
 */
public class SysPostValidator extends Validator {

    protected void validate(Controller controller) {
        validateRequiredString("post_name", "岗位名称不能为空!");
        validateRequiredString("sort", "显示顺序必须是数字!");

    }
}